

<template>
  <div id="layout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <GlobalHeader />
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="https://www.baidu.com" target="_blank">
          这是一个超链接
        </a>
      </a-layout-footer>
    </a-layout>
  </div>

</template>

<script setup lang="ts">
import GlobalHeader from "@/components/GlobalHeader.vue";
</script>


<style scoped>
#layout .footer{
  background: #efefef;
  padding: 16px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
#layout .header {
  padding-inline: 20px;
  margin-bottom: 16px;
  color: unset;
  background: white;
}
.header{
  background-color: white;
}
</style>
